package com.furnitur.modules.admin.service.order;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.furnitur.core.entity.order.Order;
import com.furnitur.modules.admin.vo.order.OrderStatisticsVO;

public interface OrderService extends IService<Order> {
    /**
     * 分页获取订单列表
     */
    Page<Order> getOrderPage(Integer pageNum, Integer pageSize, String orderNo, Integer status);

    /**
     * 根据订单号获取订单
     */
    Order getByOrderNo(String orderNo);

    /**
     * 订单发货
     */
    void ship(String orderNo, String trackingNo);

    /**
     * 获取订单统计数据
     */
    OrderStatisticsVO getStatistics();

    /**
     * 确认收货
     */
    void confirmReceipt(String orderNo);
} 